﻿<UserControl x:Class="PPFinance.UI.NavBar"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    d:DesignHeight="350" d:DesignWidth="400" Loaded="UserControl_Loaded">
    <StackPanel  Margin="0,0,0,0" VerticalAlignment="Top" Background="#FFFFFDFD">
        <Grid Height="27" Cursor="Hand">
            <Rectangle Height="26" Stroke="#FF8A0A37" VerticalAlignment="Top" x:Name="IEGroup" MouseLeftButtonDown="IEGroup_MouseLeftButtonDown">
                <Rectangle.Fill>
                    <LinearGradientBrush EndPoint="0.5,1" MappingMode="RelativeToBoundingBox" StartPoint="0.5,0">
                        <GradientStop Color="#FFB51950" Offset="0.513"/>
                        <GradientStop Color="#FFD77D9C" Offset="1"/>
                        <GradientStop Color="#FFD77D9C" Offset="0.004"/>
                    </LinearGradientBrush>
                </Rectangle.Fill>
            </Rectangle>
            <TextBlock HorizontalAlignment="Left" Margin="8,3,0,0" TextWrapping="Wrap" Text="收支管理" VerticalAlignment="Top" RenderTransformOrigin="-0.307,-0.375" Foreground="White" FontSize="13.333" />
            <TextBlock HorizontalAlignment="Right" Margin="0,5,8,5" TextWrapping="Wrap" Width="11" Text="▼" Foreground="White" x:Name="tbIEEx"/>
        </Grid>
        <Grid  x:Name="grIE">
            <Grid.RowDefinitions>
                <RowDefinition Height="25"/>
                <RowDefinition Height="1"/>
                <RowDefinition Height="25"/>
                <RowDefinition Height="1"/>
                <RowDefinition Height="25"/>
                <RowDefinition Height="1"/>
                <RowDefinition Height="25"/>
                <RowDefinition Height="1"/>
                <RowDefinition Height="25"/>
                <RowDefinition Height="0*"/>
            </Grid.RowDefinitions>

            <TextBlock Height="17" TextWrapping="Wrap" Text="添加支出" Cursor="Hand" Padding="10,0,0,0" Grid.Row="0" FontSize="12"/>
            <Rectangle Height="1" Stroke="#FF8A0A37" Grid.Row="1" Margin="2,0" Opacity="0.29">
                <Rectangle.Fill>
                    <RadialGradientBrush>
                        <GradientStop Color="#FFB51950" Offset="0.487"/>
                        <GradientStop Color="#FFD77D9C"/>
                        <GradientStop Color="#FFD77D9C" Offset="0.996"/>
                    </RadialGradientBrush>
                </Rectangle.Fill>
            </Rectangle>
            <TextBlock Height="17" TextWrapping="Wrap" Text="添加收入" Cursor="Hand" Padding="10,0,0,0" Grid.Row="2" FontSize="12"/>
            <Rectangle Height="1" Stroke="#FF8A0A37"  Margin="2,0" Opacity="0.29" Grid.Row="3">
                <Rectangle.Fill>
                    <RadialGradientBrush>
                        <GradientStop Color="#FFB51950" Offset="0.487"/>
                        <GradientStop Color="#FFD77D9C"/>
                        <GradientStop Color="#FFD77D9C" Offset="0.996"/>
                    </RadialGradientBrush>
                </Rectangle.Fill>
            </Rectangle>
            <TextBlock Height="17" TextWrapping="Wrap" Text="支出报表" Cursor="Hand" Padding="10,0,0,0" Grid.Row="4" FontSize="12" />
            <Rectangle Height="1" Stroke="#FF8A0A37"  Margin="2,0" Opacity="0.29" Grid.Row="5">
                <Rectangle.Fill>
                    <RadialGradientBrush>
                        <GradientStop Color="#FFB51950" Offset="0.487"/>
                        <GradientStop Color="#FFD77D9C"/>
                        <GradientStop Color="#FFD77D9C" Offset="0.996"/>
                    </RadialGradientBrush>
                </Rectangle.Fill>
            </Rectangle>
            <TextBlock Height="17" TextWrapping="Wrap" Text="收入报表" Cursor="Hand" Padding="10,0,0,0" Grid.Row="6" FontSize="12"/>
            <Rectangle Height="1" Stroke="#FF8A0A37"  Margin="2,0" Opacity="0.29" Grid.Row="7">
                <Rectangle.Fill>
                    <RadialGradientBrush>
                        <GradientStop Color="#FFB51950" Offset="0.487"/>
                        <GradientStop Color="#FFD77D9C"/>
                        <GradientStop Color="#FFD77D9C" Offset="0.996"/>
                    </RadialGradientBrush>
                </Rectangle.Fill>
            </Rectangle>
            <TextBlock Height="17" TextWrapping="Wrap" Text="支出收入统计" Cursor="Hand" Padding="10,0,0,0" Grid.Row="8" FontSize="12"/>
        </Grid>

        <Grid Height="27" Cursor="Hand">
            <Rectangle Height="26" Stroke="#FF8A0A37" VerticalAlignment="Top" x:Name="sysGroup" MouseLeftButtonDown="sysGroup_MouseLeftButtonDown">
                <Rectangle.Fill>
                    <LinearGradientBrush EndPoint="0.5,1" MappingMode="RelativeToBoundingBox" StartPoint="0.5,0">
                        <GradientStop Color="#FFB51950" Offset="0.513"/>
                        <GradientStop Color="#FFD77D9C" Offset="1"/>
                        <GradientStop Color="#FFD77D9C" Offset="0.004"/>
                    </LinearGradientBrush>
                </Rectangle.Fill>
            </Rectangle>
            <TextBlock HorizontalAlignment="Left" Margin="9,3,0,0" TextWrapping="Wrap" Text="系统设置" VerticalAlignment="Top" RenderTransformOrigin="-0.307,-0.375" Foreground="White" FontSize="13.333" />
            <TextBlock HorizontalAlignment="Right" Margin="0,5,8,5" TextWrapping="Wrap" Width="11" Text="▼" Foreground="White"  x:Name="tbSysEx"/>
        </Grid>
        <Grid    Margin="0,0,0,0" x:Name="grSys">
            <Grid.RowDefinitions>
                <RowDefinition Height="25"/>
                <RowDefinition Height="1"/>
                <RowDefinition Height="25"/>
                <RowDefinition Height="1"/>
                <RowDefinition Height="25"/>
                <RowDefinition Height="1"/>
                <RowDefinition Height="25"/>
                <RowDefinition Height="1"/>
                <RowDefinition Height="25"/>
                <RowDefinition Height="0*"/>
            </Grid.RowDefinitions>

            <TextBlock Height="17" TextWrapping="Wrap" Text="支出类别设置" Cursor="Hand" Padding="10,0,0,0" Grid.Row="0" FontSize="12" />
            <Rectangle Height="1" Stroke="#FF8A0A37" Grid.Row="1" Margin="2,0" Opacity="0.29">
                <Rectangle.Fill>
                    <RadialGradientBrush>
                        <GradientStop Color="#FFB51950" Offset="0.487"/>
                        <GradientStop Color="#FFD77D9C"/>
                        <GradientStop Color="#FFD77D9C" Offset="0.996"/>
                    </RadialGradientBrush>
                </Rectangle.Fill>
            </Rectangle>
            <TextBlock Height="17" TextWrapping="Wrap" Text="收入类别设置" Cursor="Hand" Padding="10,0,0,0" Grid.Row="2"  FontSize="12"/>
            <Rectangle Height="1" Stroke="#FF8A0A37"  Margin="2,0" Opacity="0.29" Grid.Row="3">
                <Rectangle.Fill>
                    <RadialGradientBrush>
                        <GradientStop Color="#FFB51950" Offset="0.487"/>
                        <GradientStop Color="#FFD77D9C"/>
                        <GradientStop Color="#FFD77D9C" Offset="0.996"/>
                    </RadialGradientBrush>
                </Rectangle.Fill>
            </Rectangle>
            <TextBlock Height="17" TextWrapping="Wrap" Text="卡设置" Cursor="Hand" Padding="10,0,0,0" Grid.Row="4" FontSize="12"/>
            <Rectangle Height="1" Stroke="#FF8A0A37"  Margin="2,0" Opacity="0.29" Grid.Row="5">
                <Rectangle.Fill>
                    <RadialGradientBrush>
                        <GradientStop Color="#FFB51950" Offset="0.487"/>
                        <GradientStop Color="#FFD77D9C"/>
                        <GradientStop Color="#FFD77D9C" Offset="0.996"/>
                    </RadialGradientBrush>
                </Rectangle.Fill>
            </Rectangle>
            <TextBlock Height="17" TextWrapping="Wrap" Text="现金管理" Cursor="Hand" Margin="0" Grid.Row="6" FontSize="12" Padding="10,0,0,0"/>
            <Rectangle Height="1" Stroke="#FF8A0A37"  Margin="2,0" Opacity="0.29" Grid.Row="7">
                <Rectangle.Fill>
                    <RadialGradientBrush>
                        <GradientStop Color="#FFB51950" Offset="0.487"/>
                        <GradientStop Color="#FFD77D9C"/>
                        <GradientStop Color="#FFD77D9C" Offset="0.996"/>
                    </RadialGradientBrush>
                </Rectangle.Fill>
            </Rectangle>
            <TextBlock Height="17" TextWrapping="Wrap" Text="用户设置" Cursor="Hand" Padding="10,0,0,0" Grid.Row="8" FontSize="12"/>
        </Grid>




    </StackPanel>

</UserControl>
